<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>编辑预定</title>
<style type="text/css">
<!--
body {
	background-image: url(img/allbg.gif);
}
-->
</style>
<link href="img/base.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="98%"  border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#D1DDAA">
  <tr>
    <td width="100%" height="24" colspan="2" background="img/tbg.gif">
    	&nbsp;<strong><a href="<?php echo $ENV_GOBACK_URL; ?>"><u>预定管理</u></a> &gt;&gt; 编辑预定：</strong>
    </td>
  </tr>
  <tr>
    <td height="187" colspan="2" align="center" bgcolor="#FFFFFF">
	<form name="form1" method="post" action="order_edit.php">
	<input type="hidden" name="dopost" value="edit" />
	<input type="hidden" name="id" value="<?php echo $row['aid']; ?>" />
        <table width="100%" border="0" cellpadding="3" cellspacing="1">
          <tr bgcolor="#FFFFFF"> 
            <td width="18%" height="24">预定酒店名称：</td>
            <td width="82%"> 
              <?php echo $row['title']; ?>
            </td>
          </tr>
          <td width="18%" height="24">预定酒店编号：</td>
            <td width="82%"> 
              <?php echo $row['aid']; ?>
            </td>
          </tr>
          <td width="18%" height="24">预定订单号：</td>
            <td width="82%"> 
              <?php echo $row['buyid']; ?>
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="24">预定时间：</td>
            <td> 
              <?php echo GetDateTimeMK($row['time']); ?>
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="24">IP地址：</td>
            <td> 
              <?php echo $row['ip']; ?>
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="24">入住日期：</td>
            <td> 
              <input name="cr" type="text" id="cr" size="20" value="<?php echo $row['cr']; ?>" /> 
            </td>
          </tr>
           <tr bgcolor="#FFFFFF"> 
            <td height="24">离开日期：</td>
            <td> 
              <input name="rt" type="text" id="rt" size="20" value="<?php echo $row['rt']; ?>" /> 
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="24">总价：</td>
            <td> 
              <input name="jiage" type="text" id="jiage" size="10" value="<?php echo $row['jiage']; ?>" /> 
            </td>
          </tr>
		   <tr bgcolor="#FFFFFF"> 
            <td height="24">房型( +号后面为房间数 )：</td>
            <td> 
              <input name="fx" type="text" id="fx" size="80" value="<?php echo $row['fx']; ?>" style=" height:50px;"/> 
            </td>
          </tr>
           <tr bgcolor="#FFFFFF"> 
            <td height="24">姓名：</td>
            <td> 
              <input name="name" type="text" id="name" size="10" value="<?php echo $row['name']; ?>" /> 
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="24">手机：</td>
            <td> 
              <input name="mb" type="text" id="mb" size="12" value="<?php echo $row['mb']; ?>" /> 
            </td>
          </tr>
           <tr bgcolor="#FFFFFF"> 
            <td height="24">电话：</td>
            <td> 
              <input name="tel" type="text" id="tel" size="12" value="<?php echo $row['tel']; ?>" /> 
            </td>
          </tr>
            <tr bgcolor="#FFFFFF"> 
            <td height="24">邮箱：</td>
            <td> 
              <input name="mail" type="text" id="mail" size="20" value="<?php echo $row['mail']; ?>" /> 
            </td>
          </tr>
          
          <tr bgcolor="#FFFFFF"> 
            <td height="24">订单状态：</td>
            <td> 
              <select name="zt">
              <option value="0" <?php if($row['ischeck']=='0') echo 'selected="selected"';?>>未处理</option>
               <option value="1" <?php if($row['ischeck']=='1') echo 'selected="selected"';?>>已处理</option>
              </select>
            </td>
          </tr>
          
          <tr bgcolor="#FFFFFF"> 
            <td height="24">订单备注：</td>
           
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td height="62" align="center">&nbsp; </td>
            <td height="62"> 
              <textarea name="jj" cols="60" rows="5" id="jj"><?php echo jstrim($row['jj'],500); ?></textarea></td>
          </tr>
        
          <tr bgcolor="#FFFFFF"> 
            <td height="40" width='600' colspan="2" align="center"> 
              <input type="submit" name="Submit1" class='coolbg np' value="保存更改"  />
              &nbsp; 
              <input type="button" name="Submit2" class='coolbg np' value="不理返回" onClick="location='<?php echo $ENV_GOBACK_URL; ?>';" />
            </td>
          </tr>
        </table>
	  </form>
	  </td>
  </tr>
</table>
</body>
</html>